![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Time definitions. More...
#include "roc_core/stddefs.h"
Go to the source code of this file.
Namespaces | |
namespace | roc |
Root namespace. | |
namespace | roc::core |
Basic building blocks. | |
Typedefs | |
typedef int64_t | roc::core::nanoseconds_t |
Nanoseconds. More... | |
Functions | |
nanoseconds_t | roc::core::timestamp () |
Get current timestamp in nanoseconds. More... | |
void | roc::core::sleep_until (nanoseconds_t timestamp) |
Sleep until the specified absolute time point has been reached. More... | |
void | roc::core::sleep_for (nanoseconds_t duration) |
Sleep specified amount of time. More... | |
Variables | |
const nanoseconds_t | roc::core::Nanosecond = 1 |
One nanosecond represented in nanoseconds. More... | |
const nanoseconds_t | roc::core::Microsecond = 1000 * Nanosecond |
One microsecond represented in nanoseconds. More... | |
const nanoseconds_t | roc::core::Millisecond = 1000 * Microsecond |
One millisecond represented in nanoseconds. More... | |
const nanoseconds_t | roc::core::Second = 1000 * Millisecond |
One second represented in nanoseconds. More... | |
const nanoseconds_t | roc::core::Minute = 60 * Second |
One minute represented in nanoseconds. More... | |
const nanoseconds_t | roc::core::Hour = 60 * Minute |
One hour represented in nanoseconds. More... | |
Time definitions.
Definition in file time.h.